Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add Interface in CMake for diopi_impl #398

Merged
merged 5 commits into from
Nov 14, 2023
Merged

Conversation

Wrench-Git
Copy link
Collaborator

@Wrench-Git Wrench-Git commented Nov 7, 2023

This PR is used to fix the problem caused by pull 385
This PR will make the diopi_impl as an INTERFACE so users can decide whether to link it.
Use the following CMake args to not link libdiopi_impl.so
"WITH_DIOPI=OFF"
DICP can choose to not link diopi if they want, those who still want to link diopi can enjoy the link option "no-as-needed"

@CLAassistant
Copy link

CLAassistant commented Nov 9, 2023

CLA assistant check
All committers have signed the CLA.

@wiryls wiryls added the enhancement New feature or request label Nov 10, 2023
Copy link
Collaborator

@lljbash lljbash left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

改回两个变量吧

@wiryls wiryls force-pushed the add_interface_for_diopi branch from fe0fff0 to 8a045a7 Compare November 13, 2023 06:27
@wiryls wiryls requested a review from lljbash November 13, 2023 07:33
dipu/third_party/CMakeLists.txt Outdated Show resolved Hide resolved
dipu/third_party/CMakeLists.txt Show resolved Hide resolved
@wiryls wiryls requested a review from lljbash November 13, 2023 10:52
@mrdanielw mrdanielw requested a review from wiryls November 14, 2023 03:53
@wiryls wiryls mentioned this pull request Nov 14, 2023
@fandaoyi fandaoyi merged commit 855b07b into main Nov 14, 2023
18 checks passed
@wiryls wiryls deleted the add_interface_for_diopi branch November 14, 2023 06:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants